Module-level declarations

Types

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
function _check_rate(account_id: byte_array)
Link copied to clipboard
function _delete_assets_from_entities(entities: list<opted_in_asset>, amount_to_delete: integer)
Link copied to clipboard
function _opt_item_in_for_staking(prototype: text, amount: integer, account_id: byte_array)
Link copied to clipboard
function _opt_item_out_from_staking(prototype: text, amount: integer, account_id: byte_array)
Link copied to clipboard
Link copied to clipboard
function recover_collateralized(prototype: text, requested_amount: integer, current_balance: integer, account_id: byte_array)
Link copied to clipboard
function transfer_alice_with_fee(asset_collateral_amount: integer, account_id: byte_array)

Queries

Link copied to clipboard
@mount("collateral.get_all_users_collateralized") query get_all_users_collateralized(cursor: page_cursor): page
Link copied to clipboard
@mount("collateral.get_asset_collateral_amounts") query get_asset_collateral_amounts(): list<(name: text, collateral_amount: integer)>
Link copied to clipboard
@mount("collateral.get_collateral_burn_fee_percentage") query get_collateral_burn_fee_percentage(): integer
Link copied to clipboard
@mount("collateral.get_my_collateralized") query get_my_collateralized(eth_address: text, cursor: page_cursor): page
Link copied to clipboard
@mount("collateral.get_rate_limit_in_millis") query get_rate_limit_in_millis(): integer
Link copied to clipboard
@mount("collateral.get_staking_period_active_on") query get_staking_period_active_on(): integer

Operations

Link copied to clipboard
@mount("collateral.activate_staking_period") operation activate_staking_period()
Link copied to clipboard
@mount("collateral.deactivate_staking_period") operation deactivate_staking_period()
Link copied to clipboard
@mount("collateral.opt_items_in_for_staking") operation opt_items_in_for_staking(items: map<text, integer>, account_id: byte_array, auth_descriptor_id: byte_array)
Link copied to clipboard
@mount("collateral.opt_items_out_from_staking") operation opt_items_out_from_staking(items: map<text, integer>, account_id: byte_array, auth_descriptor_id: byte_array)
Link copied to clipboard
@mount("collateral.set_collateral_amount") operation set_collateral_amount(name: text, amount: integer)
Link copied to clipboard
@mount("collateral.set_collateral_burn_fee_percentage") operation set_collateral_burn_fee_percentage(fee: integer)
Link copied to clipboard
@mount("collateral.set_rate_limit_in_millis") operation set_rate_limit_in_millis(timestamp: integer)